package org.ncibi.cytoscape.metscape.data;

import java.util.List;

public class Concept implements Comparable<Concept> {
	private String conceptName;
	private String conceptType;
	private Integer numUniqueGenes;
	private Double coeff;
	private Double oddsRatio;
	private Double pvalue;
	private Double fdr;
	private String direction;
	private List<Integer> geneIds;

	public Concept() {
	
	}
	
	public String getConceptName() {
		return conceptName;
	}
	public void setConceptName(String conceptName) {
		this.conceptName = conceptName;
	}
	public String getConceptType() {
		return conceptType;
	}
	public void setConceptType(String conceptType) {
		this.conceptType = conceptType;
	}
	public Integer getNumUniqueGenes() {
		return numUniqueGenes;
	}
	public void setNumUniqueGenes(Integer numUniqueGenes) {
		this.numUniqueGenes = numUniqueGenes;
	}
	public Double getCoeff() {
		return coeff;
	}
	public void setCoeff(Double coeff) {
		this.coeff = coeff;
	}
	public Double getOddsRatio() {
		return oddsRatio;
	}
	public void setOddsRatio(Double oddsRatio) {
		this.oddsRatio = oddsRatio;
	}
	public Double getPvalue() {
		return pvalue;
	}
	public void setPvalue(Double pvalue) {
		this.pvalue = pvalue;
	}
	public Double getFdr() {
		return fdr;
	}
	public void setFdr(Double fdr) {
		this.fdr = fdr;
	}
	public String getDirection() {
		return direction;
	}
	public void setDirection(String direction) {
		this.direction = direction;
	}
	public List<Integer> getGeneIds() {
		return geneIds;
	}
	public void setGeneIds(List<Integer> geneIds) {
		this.geneIds = geneIds;
	}
	public int compareTo(Concept o) {
		return this.getConceptName().compareTo(o.getConceptName());
	}
	
	@Override
	public String toString(){
		return "Concept [conceptName=" + this.conceptName + ", conceptType=" + this.conceptType
                    + ", numUniqueGenes=" + this.numUniqueGenes 
                    + ", coeff=" + this.coeff 
                    + ", fdr=" + this.fdr + ", oddsRatio="
                    + this.oddsRatio + ", pValue=" + this.pvalue
                    + "]\n";
	}
}
